<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>订单管理</title>
<link rel="stylesheet" href="${ctx}/my/css/pintuer.css">
<link rel="stylesheet" href="${ctx}/my/css/admin.css">
<script src="${ctx}/my/js/jquery.js"></script>
<script src="${ctx}/my/js/pintuer.js"></script>
</head>
<body>
	<div class="panel admin-panel">
		<div class="panel-head" id="add">
			<strong><span class="icon-pencil-square-o"></span>增加订单</strong>
		</div>
		<div class="body-content">
			<form method="post" class="form-x" action="${ctx}/order/add">
				<!-- <div class="form-group">
					<div class="label">
						<label>序号：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="" name="id"
							data-validate="required:请输入序号" />
						<div class="tips"></div>
					</div>
				</div> -->
				<div class="form-group">
					<div class="label">
						<label>旅游主题：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="" name="title"
							data-validate="required:请输入旅游主题" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>旅行人数：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="" name="count" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>旅行花费时间：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="" name="time" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>开始时间：</label>
					</div>
					<div class="field">
						<input type="date" class="input w50" value="" name="startDate" />
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>结束时间：</label>
					</div>
					<div class="field">
						<input type="date" class="input w50" value="" name="endDate" />
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>状态：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="" name="zt" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>旅行社：</label>
					</div>
					<div class="field">
						<select name="agencyId" class="input w50">
							<option value="">请选择旅行社</option>
							<c:forEach items="${agencys }" var="item">
								<option style="color: red" value="${item.id }">${item.name }</option>
							</c:forEach>
						</select>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>导游：</label>
					</div>
					<div class="field">
						<select name="guideId" class="input w50">
							<option value="">请选择导游</option>
							<c:forEach items="${guides }" var="item">
								<option style="color: red" value="${item.id }">${item.name }</option>
							</c:forEach>
						</select>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>线路：</label>
					</div>
					<div class="field">
						<select name="lineId" class="input w50">
							<option value="">请选择线路</option>
							<c:forEach items="${lines }" var="item">
								<option style="color: red" value="${item.id }">${item.lineName }</option>
							</c:forEach>
						</select>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>备注：</label>
					</div>
					<div class="field">
						<textarea name="remark" class="input"
							style="height: 250px; border: 1px solid #ddd;"></textarea>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit">
							提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>

</body>
</html>